<script>
    import CommonAside from "@/components/CommonAside.vue";
    import CommonHeader from "@/components/CommonHeader.vue";
    import CommonTag from "@/components/CommonTag.vue";
    export default {
        name: 'Main',
        data() {
            return {

            }
        },
        components: {
            CommonTag,
            CommonAside,
            CommonHeader
        }
    }
</script>

<template>
    <div>
        <el-container>
            <el-aside width="auto">
                <common-aside></common-aside>
            </el-aside>
            <el-container>
                <el-header>
                    <common-header></common-header>
                </el-header>
                <common-tag></common-tag>
                <el-main>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<style scoped lang="less">
    .el-header {
        padding: 0;
    }
</style>